import { Module } from "@nestjs/common";
import { UserRoleController } from "./user-role.controller";
import { UserRoleService } from "./user-role.service";
import { TypeOrmModule } from "@nestjs/typeorm";
import { UserRole } from "../user-role";

/**
 * 用户角色模块
 */
@Module({
  imports: [TypeOrmModule.forFeature([UserRole])],
  controllers: [UserRoleController],
  providers: [UserRoleService],
  exports: [UserRoleService],
})
export class UserRoleModule {}
